package com.fast.alden.portal.service.impl;

import com.fast.alden.data.model.PortalUser;
import com.fast.alden.data.service.CurrentPortalUserService;
import com.fast.alden.portal.util.PortalSecurityUtils;
import org.springframework.stereotype.Service;

/**
 * @see com.fast.alden.data.aspect.BaseEntityAuditingListener
 */
@Service
public class CurrentPortalUserServiceImpl implements CurrentPortalUserService {
    @Override
    public PortalUser currentUser() {
        return PortalSecurityUtils.getCurrentUser();
    }
}
